<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <!--action标识目的地，check_login就是@RequestMapping()里面的请求名.
    user_name和pwd就是后端请求里面用request。getParameter(user_name)形式访问的参数名-->
    <!--http://127.0.0.1:8080/check_login?user_name=xxx&pwd=23333-->
    <form name="login" method="get" action="check_login_mybatis">
        <div>
            用户名<input name="userName" maxlength="8" type="text">
        </div>
        <div>
            密&nbsp&nbsp&nbsp&nbsp码<input name="userPwd" maxlength="16" type="password">
        </div>
        <div>
            <input type="submit" value="登录">
            <!--'th:'是自动寻找项目作为根目录-->
            <a th:href="register_account">注册</a>
        </div>

    </form>
</body>
</html>